﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Microsoft.Web.Mvc" %>
<asp:Content ID="bodyContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <%using (Html.BeginForm("Admin", "Login") )
      { %>
        <% if (ViewData["Failure"] != null)
           {%>
        <h1>
            Failed to login!
        </h1>      
           <%} 
        %>
        <input id="returnUrl" name="returnUrl" type="hidden" value="<%=ViewData["ReturnUrl"] %>" />
        <p>
            <label>User Name<br /><input id="userid" name="userid" type="text" /></label>
        </p>
        <p>
            <label>Password<br /><input id="password" name="password" type="password" /></label>
        </p>
        <p>
       <input type="submit" id="login" name="login" value="Login" />
        </p>
    <%} %>
</asp:Content>
